Developer Documentation

QuickTime 4 API Documentation

Programming With QuickTime VR

| Previous | Chapter Contents | Chapter Top | Next |

Nudge Mode

The kQTVRInteractionNudgeMode property is used with the functions QTVRGetInteractionProperty and QTVRSetInteractionProperty and specifies the type of action to be taken by a nudge. You can use these constants to specify the nudge mode:

typedef enum QTVRNudgeMode {
    kQTVRNudgeRotate                                = 0UL,
    kQTVRNudgeTranslate                             = 1UL,
    kQTVRUNudgeSameAsMouse                          = 2UL
} QTVRNudgeMode;

Constant descriptions

kQTVRNudgeRotate
Set the nudge mode to rotate the object.
kQTVRNudgeTranslate
Set the nudge mode to translate the image.
kQTVRUNudgeSameAsMouse
Set the nudge mode to the same as the current mouse mode.

© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |